/*Plupload*/


.plupload_wrapper{
    position: relative;
}

.plupload_preview,
.plupload_preview li{
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    background: #fff;
}

.plupload_file .plupload_file_view{
    position: relative;
}

.plupload_file .plupload_file_action{
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    cursor: help;
    background: transparent;
    text-align: center;
    vertical-align: middle;
    font-size: 18px;
    line-height: 30px;
    background: rgba(0,0,0,.6);
    color: #fff;
}


.plupload_gallery .plupload_file .plupload_file_thumb{
    width: 100%;
    height: 160px;
    padding: 5px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -moz-box-align: center;
    align-items: center;
    background: rgba(0,0,0,.03);
    position: relative;
    cursor: move !important;
}
.plupload_gallery .plupload_file .plupload_file_thumb:before{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    background: transparent;
}
.plupload_gallery .plupload_file .plupload_file_thumb > img{
    width: auto;
    height: 100%;
    display: block;
    margin: 0 auto;
    overflow: hidden;
}

.plupload_file .plupload_file_name{
    width: 100%;
    padding: 1%;
    top: auto;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.4);
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -moz-box-align: center;
    align-items: center;
    line-height: 1;
}
.plupload_file .plupload_file_name span{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: 100%;
    font-family: Courier New;
}

.plupload_file .plupload_file_size{
    position: absolute;
    left: 0;
    top: 5%;
    display: inline-block;
    padding: 0 4px;
    border-radius: 0 5px 5px 0;
    background: rgba(0,142,255,.7);
    color: #fff;
    font-size: 65%;
    text-transform: uppercase;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
}
.plupload_file .plupload_file_size:empty{
    padding: 0;
}

.plupload_file .plupload_file_status{
    width: 100%;
    height: 100%;
    padding: 0 25%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -moz-box-align: center;
    align-items: center;
}
.plupload_file .plupload_file_status .plupload_file_progress{
    width: 100%;
    text-align: center;
}
.plupload_file .plupload_file_status .plupload_file_progress .plupload_file_percent{
    font-size: 20px;
    text-align: center;
    color: #2ab4c0;
}

.plupload_file .plupload_file_status .plupload_file_progress .plupload_file_mark{
    font-size: 12px;
    color: #ccc;
    margin: 0 auto;
    display: inline-block;
}
.plupload_file .plupload_file_status .plupload_file_progress .plupload_file_mark.plupload_file_uploading{
    background-image: url(../images/uploading.gif);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 12px;
    filter: alpha(opacity=30);
    opacity: .3;
    color: green;
    padding-left: 20px;
}

.plupload_file .plupload_file_status .plupload_file_progress .progress {
    border: 0;
    box-shadow: none;
    filter: none;
    background: #f5f5f5;
    border-radius: 4px;
    height: 6px;
    margin: 15px 0 10px;
    overflow: hidden;
}
.plupload_file .plupload_file_status .plupload_file_progress .progress .progress-bar {
    background: #2ab4c0;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
    color: #fff;
    float: left;
    font-size: 12px;
    height: 100%;
    line-height: 20px;
    text-align: center;
    transition: width 0.6s ease 0s;
    width: 0;
}

.plupload_file_loading > *:not(.plupload_file_status){
    display: none !important;
}


/*.plupload_gallery*/
.plupload_wrapper.plupload_gallery{

}
.plupload_gallery .plupload_container{
    padding: 10px 0;
}
.plupload_gallery .plupload_container .plupload-btn-browse{
    margin: 0;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
}
.plupload_gallery .plupload_container .plupload-btn-browse *{
    font-weight: normal;
}
.plupload_gallery .plupload_container .plupload-btn-browse i{
    font-size: 16px;
    margin-right: 8px;
    line-height: 20px;
}
.plupload_gallery .plupload_preview{
    width: 100%;
    min-height: 106px;
    overflow-y: auto;
    border: 1px dashed #dcdcdc;
}
.plupload_gallery .plupload_preview:before,
.plupload_gallery .plupload_preview:after{
    display: table;
    content: " ";
}
.plupload_gallery .plupload_preview:after {
    clear: both;
}
.plupload_gallery .plupload_preview:empty {
    background: #fff url(../images/empty.png) no-repeat center center / auto 50%;
}

.plupload_gallery .plupload_preview > li{
    float: left;
    width: 200px;
    height: 242px;
    border: 1px solid #ececec;
    background: #fff;
    margin: 8px;
}
.plupload_gallery .plupload_preview > li.plupload_file-sortable-placeholder{
    border: 1px dashed #cdcdcd;
    background: #f8f8f8;
}
.plupload_gallery .plupload_preview > li.plupload_file{

}
.plupload_gallery .plupload_preview > li.plupload_file.sortable-dragging {
    cursor: move !important;
}
.plupload_gallery .plupload_file .plupload_file_description{
    font-size: 0;
}
.plupload_gallery .plupload_file .plupload_file_description input,
.plupload_gallery .plupload_file .plupload_file_description textarea{
    width: 100%;
    height: 80px;
    resize: none;
    border: none;
    border-top: 1px solid #ececec;
    padding: 8px;
    font-size: 12px;
    color: #666;
}

.plupload_gallery .plupload_file .plupload_file_name span{
    font-size: 65%;
}
.plupload_gallery .plupload_file .plupload_file_status{
    padding: 0 10%;
}
.plupload_gallery .plupload_file .plupload_file_status .plupload_file_progress .progress{
    margin: 8px 0 5px;
    height: 4px;
}

.plupload_gallery .plupload_file .plupload_file_status .plupload_file_progress .plupload_file_percent{
    font-size: 14px;
}
.plupload_gallery .plupload_file .plupload_file_status .plupload_file_progress .plupload_file_mark{
    font-size: 65%;
}
